﻿namespace TriangleGames.TrainResEditor
{
    using System;
    using System.Runtime.CompilerServices;
    using UnityEditor;
    using UnityEngine;

    public static class FsmEditorStyles
    {
        [CompilerGenerated]
        private static GUIStyle ActionErrorBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionFoldout__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionItem__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionItemSelected__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionTitle__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionTitleError__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionTitleSelected__BackingField;
        [CompilerGenerated]
        private static GUIStyle ActionToggle__BackingField;
        [CompilerGenerated]
        private static GUIStyle Background__BackingField;
        [CompilerGenerated]
        private static Texture BasicsIcon__BackingField;
        [CompilerGenerated]
        private static GUIStyle BoldFoldout__BackingField;
        [CompilerGenerated]
        private static GUIStyle BreakpointOff__BackingField;
        [CompilerGenerated]
        private static GUIStyle BreakpointOn__BackingField;
        [CompilerGenerated]
        private static Texture2D BroadcastIcon__BackingField;
        [CompilerGenerated]
        private static GUIContent BrowseButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle CategoryFoldout__BackingField;
        [CompilerGenerated]
        private static GUIContent ClearBreakpoints__BackingField;
        [CompilerGenerated]
        private static GUIStyle CommentBox__BackingField;
        [CompilerGenerated]
        private static Texture DefaultWatermark__BackingField;
        [CompilerGenerated]
        private static GUIContent DeleteButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle Divider__BackingField;
        [CompilerGenerated]
        private static Texture DocsIcon__BackingField;
        [CompilerGenerated]
        private static GUIContent DownButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle DropShadowBox__BackingField;
        [CompilerGenerated]
        private static GUIContent EnableBreakpoints__BackingField;
        [CompilerGenerated]
        private static GUIStyle ErrorBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle ErrorCount__BackingField;
        [CompilerGenerated]
        private static Texture2D Errors__BackingField;
        [CompilerGenerated]
        private static GUIStyle EventBox__BackingField;
        [CompilerGenerated]
        private static Texture ForumIcon__BackingField;
        [CompilerGenerated]
        private static GUIContent FsmBrowserButton__BackingField;
        [CompilerGenerated]
        private static Texture2D GlobalArrow__BackingField;
        [CompilerGenerated]
        private static GUIStyle GlobalTransitionBox__BackingField;
        [CompilerGenerated]
        private static Color GuiBackgroundErrorColor__BackingField;
        [CompilerGenerated]
        private static Color GuiContentErrorColor__BackingField;
        [CompilerGenerated]
        private static GUIContent HelpButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle HintBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle HintBoxTextOnly__BackingField;
        [CompilerGenerated]
        private static GUIStyle HorizontalScrollbar__BackingField;
        [CompilerGenerated]
        private static float HorizontalScrollBarHeight__BackingField;
        [CompilerGenerated]
        private static GUIStyle InfoBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle InnerGlowBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle InsertLine__BackingField;
        [CompilerGenerated]
        private static GUIStyle LabelWithWordWrap__BackingField;
        [CompilerGenerated]
        private static GUIStyle LargeText__BackingField;
        [CompilerGenerated]
        private static GUIStyle LargeTitleText__BackingField;
        [CompilerGenerated]
        private static GUIStyle LargeTitleWithLogo__BackingField;
        [CompilerGenerated]
        private static GUIStyle LargeWatermarkText__BackingField;
        [CompilerGenerated]
        private static Texture2D LeftArrow__BackingField;
        [CompilerGenerated]
        private static Texture2D LineTexture__BackingField;
        [CompilerGenerated]
        private static Color LinkColorTint__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogBackground__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogInfo__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogLine__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogLine2__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogLineSelected__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogLineTimeline__BackingField;
        [CompilerGenerated]
        private static GUIStyle LogoLarge__BackingField;
        [CompilerGenerated]
        private static GUIStyle MiniButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle MiniButtonPadded__BackingField;
        [CompilerGenerated]
        private static Texture2D NoErrors__BackingField;
        [CompilerGenerated]
        private static GUIContent OpenLog__BackingField;
        [CompilerGenerated]
        private static GUIContent Pause__BackingField;
        [CompilerGenerated]
        private static GUIContent Play__BackingField;
        [CompilerGenerated]
        private static GUIStyle TrainResHeader__BackingField;
        [CompilerGenerated]
        private static GUIContent ResetButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle RightAlignedToolbarDropdown__BackingField;
        [CompilerGenerated]
        private static Texture2D RightArrow__BackingField;
        [CompilerGenerated]
        private static GUIStyle SelectedEventBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle SelectedRow__BackingField;
        [CompilerGenerated]
        private static GUIStyle SelectionBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle SelectionRect__BackingField;
        [CompilerGenerated]
        private static GUIContent SettingsButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle SinglePixelFrame__BackingField;
        [CompilerGenerated]
        private static GUIStyle SmallWatermarkText__BackingField;
        [CompilerGenerated]
        private static Texture2D StartArrow__BackingField;
        [CompilerGenerated]
        private static GUIStyle StartTransitionBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle StateBox__BackingField;
        [CompilerGenerated]
        private static GUIContent StateBrowserButton__BackingField;
        [CompilerGenerated]
        private static Texture2D StateErrorIcon__BackingField;
        [CompilerGenerated]
        private static GUIStyle StateTitleBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle StateTitleLongBox__BackingField;
        [CompilerGenerated]
        private static GUIContent Step__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRow__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowBoxNoDivider__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowCheckBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowHeader__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowSelected__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowText__BackingField;
        [CompilerGenerated]
        private static GUIStyle TableRowTextSelected__BackingField;
        [CompilerGenerated]
        private static GUIStyle TextArea__BackingField;
        [CompilerGenerated]
        private static GUIStyle TextAreaWithWordWrap__BackingField;
        [CompilerGenerated]
        private static Texture2D TitleIcon__BackingField;
        [CompilerGenerated]
        private static GUIStyle ToolbarHeading__BackingField;
        [CompilerGenerated]
        private static GUIStyle ToolbarTab__BackingField;
        [CompilerGenerated]
        private static GUIStyle TransitionBox__BackingField;
        [CompilerGenerated]
        private static GUIStyle TransitionBoxSelected__BackingField;
        [CompilerGenerated]
        private static GUIContent UpButton__BackingField;
        [CompilerGenerated]
        private static GUIContent VariableButton__BackingField;
        [CompilerGenerated]
        private static GUIStyle VersionInfo__BackingField;
        [CompilerGenerated]
        private static GUIStyle VerticalScrollbar__BackingField;
        [CompilerGenerated]
        private static float VerticalScrollBarWidth__BackingField;
        [CompilerGenerated]
        private static Texture VideoIcon__BackingField;
        [CompilerGenerated]
        private static GUIStyle Watermark__BackingField;
        [CompilerGenerated]
        private static Color WatermarkTint__BackingField;
        [CompilerGenerated]
        private static Color WatermarkTintSolid__BackingField;
        [CompilerGenerated]
        private static GUIStyle WelcomeLink__BackingField;
        public static readonly Color[] ActionColors = new Color[] { new Color(1f, 1f, 1f), new Color(1f, 1f, 1f), new Color(0.06f, 1f, 0.06f), new Color(1f, 0f, 0f), new Color(1f, 1f, 1f), new Color(0.8f, 0.8f, 0f) };
        public static Color[] CustomLinkColors;
        public const float DescriptionHeight = 44f;
        public static readonly Color ErrorTextColor = new Color(1f, 0f, 0f);
        public static readonly Color ErrorTextColorIndie = new Color(0.8f, 0f, 0f);
        private static Texture2D[] gameStateIcons;
        private static Color graphTextColor;
        public static Color[] HighlightColors = new Color[6];
        private static Color labelTextColor;
        public static readonly Color[] LinkColors = new Color[] { new Color(0.1f, 0.1f, 0.1f), new Color(0.24f, 0.38f, 0.57f), new Color(0.06f, 0.44f, 0.06f), new Color(1f, 0f, 0f), new Color(1f, 0f, 0f), new Color(0.8f, 0.8f, 0f) };
        public static readonly float[] LinkWidths = new float[] { 1f, 1.5f, 1.5f, 1.5f, 1.5f, 1f };
        private static GUIStyle[] logTypeStyles;
        public const float MaxFsmDescriptionWidth = 200f;
        public const float StateMaxWidth = 200f;
        public const float StateMinWidth = 100f;
        public const float StateRowHeight = 16f;
        public const float StateWidthPadding = 20f;
        private static bool usingProSkin;

        public static Texture2D[] GetGameStateIcons()
        {
            return gameStateIcons;
        }

        public static GUIStyle[] GetLogTypeStyles()
        {
            return logTypeStyles;
        }

        public static void Init()
        {
            FsmEditorUtility.DestroyLoadedTextures();
            EditorGUIUtility.LookLikeControls();
            InitCommon();
            usingProSkin = UsingProSkin();
            if (usingProSkin)
            {
                InitProSkin();
            }
            else
            {
                InitIndieSkin();
            }
            InitColorScheme(FsmEditorSettings.ColorScheme);
        }

        private static void InitColorScheme(ColorScheme colorScheme)
        {
            if (colorScheme == ColorScheme.Default)
            {
                colorScheme = usingProSkin ? ColorScheme.DarkBackground : ColorScheme.LightBackground;
            }
            switch (colorScheme)
            {
                case ColorScheme.DarkBackground:
                    LinkColorTint = Color.white;
                    LinkColors[0] = new Color(0.1f, 0.1f, 0.1f);
                    CustomLinkColors = new Color[] { Color.grey, new Color(0.5450981f, 0.6705883f, 0.9411765f), new Color(0.2431373f, 0.7607843f, 0.6901961f), new Color(0.4313726f, 0.7607843f, 0.2431373f), new Color(1f, 0.8745098f, 0.1882353f), new Color(1f, 0.5529412f, 0.1882353f), new Color(0.7607843f, 0.2431373f, 0.2509804f), new Color(0.5450981f, 0.2431373f, 0.7607843f) };
                    LargeWatermarkText.normal.textColor = new Color(1f, 1f, 1f, 0.15f);
                    SmallWatermarkText.normal.textColor = new Color(1f, 1f, 1f, 0.2f);
                    WatermarkTint = new Color(1f, 1f, 1f, 0.05f);
                    WatermarkTintSolid = new Color(0.8f, 0.8f, 0.8f);
                    HighlightColors = new Color[] { new Color(0f, 0f, 0f), new Color(0.24f, 0.38f, 0.57f), new Color(0.06f, 0.8f, 0.06f), new Color(1f, 0f, 0f), new Color(1f, 0f, 0f), new Color(0.8f, 0.8f, 0f) };
                    return;

                case ColorScheme.LightBackground:
                    LinkColorTint = new Color(0.9f, 0.9f, 0.7f, 1f);
                    LinkColors[0] = new Color(0.25f, 0.25f, 0.25f);
                    CustomLinkColors = new Color[] { Color.grey, new Color(0.3815686f, 0.4694118f, 0.6588235f), new Color(0.1945098f, 0.6086274f, 0.5521569f), new Color(0.3019608f, 0.6086274f, 0.1458824f), new Color(0.8f, 0.6996078f, 0.1505882f), new Color(1f, 0.5529412f, 0.1882353f), new Color(0.7607843f, 0.2431373f, 0.2509804f), new Color(0.5450981f, 0.2431373f, 0.7607843f) };
                    Background.normal.background = FsmEditorUtility.LoadDllResource("graphBackground_indie", 0x20, 0x20);
                    CommentBox.normal.background = FsmEditorUtility.LoadDllResource("infoBox_indie", 0x10, 0x10);
                    GlobalTransitionBox.normal.background = FsmEditorUtility.LoadDllResource("globalTransitionBox_indie", 0x10, 0x10);
                    StartTransitionBox.normal.background = FsmEditorUtility.LoadDllResource("startTransitionBox_indie", 0x10, 0x10);
                    LargeWatermarkText.normal.textColor = new Color(0f, 0f, 0f, 0.2f);
                    SmallWatermarkText.normal.textColor = new Color(0f, 0f, 0f, 0.3f);
                    WatermarkTint = new Color(0f, 0f, 0f, 0.075f);
                    WatermarkTintSolid = new Color(0.2f, 0.2f, 0.2f);
                    HighlightColors = new Color[] { new Color(0f, 0f, 0f), new Color(0.24f, 0.5f, 0.875f), new Color(0.06f, 0.8f, 0.06f), new Color(1f, 0f, 0f), new Color(1f, 0f, 0f), new Color(0.8f, 0.8f, 0f) };
                    return;
            }
            throw new ArgumentOutOfRangeException("colorScheme");
        }

        private static void InitCommon()
        {
            GUIStyle style6 = new GUIStyle(EditorStyles.textField);
            style6.wordWrap = true;
            TextAreaWithWordWrap = style6;
            GUIStyle style7 = new GUIStyle(EditorStyles.label);
            style7.wordWrap = true;
            LabelWithWordWrap = style7;
            GUIStyle style8 = new GUIStyle(EditorStyles.textField);
            style8.wordWrap = true;
            TextArea = style8;
            ToolbarTab = new GUIStyle(EditorStyles.toolbarButton);
            GUIStyle style9 = new GUIStyle();
            style9.normal.background = FsmEditorUtility.LoadDllResource("TrainResLogo", 0x100, 0x43);
            style9.margin = new RectOffset(4, 4, 4, 8);
            style9.fixedWidth = 256f;
            style9.fixedHeight = 67f;
            LogoLarge = style9;
            graphTextColor = new Color(1f, 1f, 1f, 0.7f);
            labelTextColor = EditorStyles.label.normal.textColor;
            HelpButton = new GUIContent(FsmEditorUtility.LoadDllResource("helpIcon", 14, 14), "文档链接");
            StateBrowserButton = new GUIContent(FsmEditorUtility.LoadDllResource("browserIcon", 14, 14), "状态浏览器");
            GUIStyle style10 = new GUIStyle(EditorStyles.toolbarDropDown);
            style10.alignment = TextAnchor.MiddleRight;
            RightAlignedToolbarDropdown = style10;
            GUIStyle style11 = new GUIStyle(EditorStyles.toolbarButton);
            style11.alignment = TextAnchor.MiddleLeft;
            ToolbarHeading = style11;
            EnableBreakpoints = new GUIContent("断点", "启用断点");
            ClearBreakpoints = new GUIContent("清除", "清除断点");
            OpenLog = new GUIContent("打开日志", "打开日志窗口");
            Play = new GUIContent(FsmEditorUtility.LoadDllResource("playButton", 0x11, 0x11));
            Pause = new GUIContent(FsmEditorUtility.LoadDllResource("pauseButton", 0x11, 0x11));
            Step = new GUIContent(FsmEditorUtility.LoadDllResource("stepButton", 0x11, 0x11));
            GUIStyle style12 = new GUIStyle(EditorStyles.toolbarButton);
            style12.padding = new RectOffset(20, 5, 2, 2);
            style12.alignment = TextAnchor.MiddleLeft;
            ErrorCount = style12;
            Errors = FsmEditorUtility.LoadDllResource("errorCount", 14, 14);
            NoErrors = FsmEditorUtility.LoadDllResource("noErrors", 14, 14);
            VerticalScrollBarWidth = GUI.skin.verticalScrollbar.fixedWidth;
            HorizontalScrollBarHeight = GUI.skin.horizontalScrollbar.fixedHeight;
            GUIStyle style13 = new GUIStyle(GUI.skin.horizontalScrollbar);
            style13.normal.background = null;
            style13.fixedHeight = 0f;
            HorizontalScrollbar = style13;
            GUIStyle style14 = new GUIStyle(GUI.skin.verticalScrollbar);
            style14.normal.background = null;
            style14.fixedWidth = 0f;
            VerticalScrollbar = style14;
            GUIStyle style15 = new GUIStyle();
            style15.normal.background = FsmEditorUtility.LoadDllResource("graphBackground", 0x20, 0x20);
            style15.border = new RectOffset(0x10, 0x10, 20, 10);
            Background = style15;
            GUIStyle style16 = new GUIStyle();
            style16.normal.background = FsmEditorUtility.LoadDllResource("innerGlowBox", 0x20, 0x20);
            style16.border = new RectOffset(14, 14, 14, 14);
            InnerGlowBox = style16;
            GUIStyle style17 = new GUIStyle();
            style17.normal.background = FsmEditorUtility.LoadDllResource("outerGlow", 0x20, 0x20);
            style17.border = new RectOffset(11, 11, 11, 11);
            style17.margin = new RectOffset(3, 3, 3, 3);
            style17.overflow = new RectOffset(10, 10, 10, 10);
            SelectionBox = style17;
            GUIStyle style18 = new GUIStyle();
            style18.normal.background = FsmEditorUtility.LoadDllResource("selectionRect", 8, 8);
            style18.border = new RectOffset(3, 3, 3, 3);
            SelectionRect = style18;
            GUIStyle style19 = new GUIStyle();
            style19.normal.background = FsmEditorUtility.LoadDllResource("dropShadowBox", 0x40, 0x40);
            style19.border = new RectOffset(0x1f, 0x1f, 0x10, 0x10);
            style19.margin = new RectOffset(3, 3, 3, 3);
            style19.overflow = new RectOffset(15, 15, 15, 15);
            DropShadowBox = style19;
            GUIStyle style20 = new GUIStyle();
            style20.normal.background = FsmEditorUtility.LoadDllResource("stateBox", 0x10, 0x10);
            style20.border = new RectOffset(8, 8, 8, 8);
            style20.overflow = new RectOffset(1, 1, 1, 1);
            StateBox = style20;
            GUIStyle style21 = new GUIStyle();
            style21.normal.background = FsmEditorUtility.LoadDllResource("stateTitleBox", 0x10, 0x10);
            style21.normal.textColor = graphTextColor;
            style21.border = new RectOffset(1, 1, 1, 1);
            style21.alignment = TextAnchor.MiddleCenter;
            style21.fontStyle = FontStyle.Bold;
            style21.contentOffset = new Vector2(0f, -1f);
            style21.fixedHeight = 16f;
            StateTitleBox = style21;
            GUIStyle style22 = new GUIStyle(StateTitleBox);
            style22.alignment = TextAnchor.MiddleLeft;
            StateTitleLongBox = style22;
            GUIStyle style23 = new GUIStyle();
            style23.normal.background = FsmEditorUtility.LoadDllResource("transitionBox", 0x10, 0x10);
            style23.normal.textColor = Color.white;
            style23.border = new RectOffset(5, 5, 5, 5);
            style23.fixedHeight = 16f;
            style23.alignment = TextAnchor.MiddleCenter;
            TransitionBox = style23;
            GUIStyle style24 = new GUIStyle(TransitionBox);
            style24.normal.background = FsmEditorUtility.LoadDllResource("transitionBoxSelected", 0x10, 0x10);
            style24.normal.textColor = graphTextColor;
            TransitionBoxSelected = style24;
            GUIStyle style25 = new GUIStyle(TransitionBox);
            style25.normal.background = FsmEditorUtility.LoadDllResource("globalTransitionBox", 0x10, 0x10);
            style25.normal.textColor = graphTextColor;
            style25.fontStyle = FontStyle.Bold;
            GlobalTransitionBox = style25;
            GUIStyle style26 = new GUIStyle(GlobalTransitionBox);
            style26.normal.background = FsmEditorUtility.LoadDllResource("startTransitionBox", 0x10, 0x10);
            StartTransitionBox = style26;
            GUIStyle style27 = new GUIStyle();
            style27.normal.background = FsmEditorUtility.LoadDllResource("singlePixelFrame", 0x10, 0x10);
            style27.border = new RectOffset(8, 8, 8, 8);
            style27.padding = new RectOffset(0, 0, -10, 0);
            SinglePixelFrame = style27;
            GUIStyle style28 = new GUIStyle();
            style28.normal.background = FsmEditorUtility.LoadDllResource("breakpointOff", 5, 0x10);
            BreakpointOff = style28;
            GUIStyle style29 = new GUIStyle();
            style29.normal.background = FsmEditorUtility.LoadDllResource("breakpointOn", 5, 0x10);
            BreakpointOn = style29;
            TitleIcon = FsmEditorUtility.LoadDllResource("wanIcon", 20, 20);
            LineTexture = FsmEditorUtility.LoadDllResource("line", 2, 4);
            LeftArrow = FsmEditorUtility.LoadDllResource("leftArrow", 0x17, 14);
            RightArrow = FsmEditorUtility.LoadDllResource("rightArrow", 0x17, 14);
            StartArrow = FsmEditorUtility.LoadDllResource("startArrow", 0x1c, 0x40);
            GlobalArrow = FsmEditorUtility.LoadDllResource("globalArrow", 0x10, 0x20);
            StateErrorIcon = FsmEditorUtility.LoadDllResource("errorCount", 14, 14);
            BroadcastIcon = FsmEditorUtility.LoadDllResource("broadcastIcon", 0x10, 0x10);
            Texture2D[] texturedArray = new Texture2D[5];
            texturedArray[1] = FsmEditorUtility.LoadDllResource("playIcon", 0x40, 0x40);
            texturedArray[2] = FsmEditorUtility.LoadDllResource("breakIcon", 0x40, 0x40);
            texturedArray[3] = FsmEditorUtility.LoadDllResource("pauseIcon", 0x40, 0x40);
            texturedArray[4] = FsmEditorUtility.LoadDllResource("errorIcon", 0x40, 0x40);
            gameStateIcons = texturedArray;
            GUIStyle style30 = new GUIStyle();
            style30.normal.background = FsmEditorUtility.LoadDllResource("infoBox", 0x10, 0x10);
            style30.normal.textColor = graphTextColor;
            style30.border = new RectOffset(2, 2, 2, 2);
            style30.padding = new RectOffset(5, 5, 3, 3);
            style30.margin = new RectOffset(3, 3, 3, 3);
            style30.alignment = TextAnchor.UpperLeft;
            style30.wordWrap = true;
            CommentBox = style30;
            GUIStyle style31 = new GUIStyle();
            style31.normal.background = FsmEditorUtility.LoadDllResource("divider", 0x20, 2);
            style31.border = new RectOffset(1, 1, 2, 0);
            style31.fixedHeight = 2f;
            Divider = style31;
            GUIStyle style32 = new GUIStyle(EditorStyles.miniButton);
            style32.overflow = new RectOffset(0, 0, 0, 2);
            style32.padding = new RectOffset(0, 0, 0, 0);
            style32.margin = new RectOffset(0, 0, 3, 2);
            style32.stretchWidth = false;
            style32.stretchHeight = false;
            MiniButton = style32;
            GUIStyle style33 = new GUIStyle(EditorStyles.miniButton);
            style33.overflow = new RectOffset(0, 0, 0, 2);
            style33.padding = new RectOffset(0, 0, 0, 0);
            style33.stretchWidth = false;
            style33.stretchHeight = false;
            MiniButtonPadded = style33;
            GUIStyle style34 = new GUIStyle(EditorStyles.foldout);
            style34.fixedWidth = 15f;
            style34.margin = new RectOffset(2, 0, -2, 0);
            ActionFoldout = style34;
            GUIStyle style35 = new GUIStyle(EditorStyles.toggle);
            style35.fixedWidth = 15f;
            style35.margin = new RectOffset(0, 0, -2, 0);
            ActionToggle = style35;
            GUIStyle style36 = new GUIStyle(EditorStyles.boldLabel);
            style36.padding = new RectOffset(2, 0, 2, 0);
            style36.margin = new RectOffset(0, 0, 0, 0);
            style36.fixedHeight = 20f;
            ActionTitle = style36;
            GUIStyle style37 = new GUIStyle(ActionTitle);
            style37.normal.textColor = new Color(0.7f, 0.7f, 0.7f);
            ActionTitleError = style37;
            GUIStyle style38 = new GUIStyle(EditorStyles.boldLabel);
            style38.normal.textColor = Color.white;
            style38.padding = new RectOffset(2, 0, 2, 0);
            style38.margin = new RectOffset(0, 0, 0, 0);
            style38.fixedHeight = 20f;
            ActionTitleSelected = style38;
            GUIStyle style39 = new GUIStyle();
            style39.normal.background = FsmEditorUtility.LoadDllResource("selectedColor", 2, 2);
            style39.normal.textColor = Color.white;
            style39.padding = new RectOffset(2, 0, 2, 0);
            style39.margin = new RectOffset(0, 0, 0, 0);
            style39.fixedHeight = 20f;
            SelectedRow = style39;
            GUIStyle style40 = new GUIStyle(EditorStyles.foldout);
            style40.fontStyle = FontStyle.Bold;
            CategoryFoldout = style40;
            GUIStyle style41 = new GUIStyle();
            style41.normal.background = FsmEditorUtility.LoadDllResource("infoBox", 0x10, 0x10);
            style41.normal.textColor = labelTextColor;
            style41.border = new RectOffset(2, 2, 2, 2);
            style41.padding = new RectOffset(5, 5, 3, 3);
            style41.margin = new RectOffset(5, 5, 3, 3);
            style41.alignment = TextAnchor.LowerLeft;
            style41.wordWrap = true;
            InfoBox = style41;
            GUIStyle style42 = new GUIStyle(InfoBox);
            style42.normal.background = FsmEditorUtility.LoadDllResource("hintBox", 0x10, 0x10);
            style42.normal.textColor = Color.white;
            HintBox = style42;
            GUIStyle style43 = new GUIStyle(InfoBox);
            style43.normal.background = FsmEditorUtility.LoadDllResource("errorBox", 0x10, 0x10);
            style43.normal.textColor = ErrorTextColor;
            ErrorBox = style43;
            ActionErrorBox = new GUIStyle(ErrorBox);
            GUIStyle style44 = new GUIStyle();
            style44.normal.background = FsmEditorUtility.LoadDllResource("transitionBox", 0x10, 0x10);
            style44.border = new RectOffset(5, 5, 5, 5);
            style44.padding = new RectOffset(5, 0, 3, 0);
            style44.alignment = TextAnchor.MiddleLeft;
            style44.fixedHeight = 20f;
            EventBox = style44;
            GUIStyle style45 = new GUIStyle(EventBox);
            style45.normal.background = FsmEditorUtility.LoadDllResource("selectedColor", 2, 2);
            style45.normal.textColor = Color.white;
            style45.fixedHeight = 22f;
            SelectedEventBox = style45;
            GUIStyle style46 = new GUIStyle();
            style46.normal.background = FsmEditorUtility.LoadDllResource("tableRowBox", 0x10, 0x10);
            style46.border = new RectOffset(5, 5, 5, 5);
            style46.padding = new RectOffset(5, 0, 3, 0);
            style46.alignment = TextAnchor.MiddleLeft;
            style46.fixedHeight = 22f;
            TableRowBox = style46;
            GUIStyle style47 = new GUIStyle();
            style47.border = new RectOffset(5, 5, 5, 5);
            style47.padding = new RectOffset(5, 0, 3, 0);
            style47.alignment = TextAnchor.MiddleLeft;
            style47.fixedHeight = 22f;
            TableRowBoxNoDivider = style47;
            GUIStyle style48 = new GUIStyle("Label");
            style48.alignment = TextAnchor.MiddleLeft;
            TableRowHeader = style48;
            GUIStyle style49 = new GUIStyle();
            style49.padding = new RectOffset(5, 5, 0, 0);
            style49.alignment = TextAnchor.LowerRight;
            VersionInfo = style49;
            GUIStyle style50 = new GUIStyle();
            style50.normal.background = FsmEditorUtility.LoadDllResource("logInfoIcon", 20, 20);
            style50.normal.textColor = EditorStyles.label.normal.textColor;
            style50.border = new RectOffset(20, 0, 0, 0);
            style50.padding = new RectOffset(0x18, 0, 0, 0);
            style50.margin = new RectOffset(3, 3, 0, 0);
            style50.alignment = TextAnchor.MiddleLeft;
            style50.fixedHeight = 20f;
            LogInfo = style50;
            GUIStyle style = new GUIStyle(LogInfo);
            GUIStyle style2 = new GUIStyle(LogInfo);
            GUIStyle style51 = new GUIStyle(LogInfo);
            style51.normal.background = FsmEditorUtility.LoadDllResource("logWarningIcon", 20, 20);
            GUIStyle style3 = style51;
            GUIStyle style52 = new GUIStyle(LogInfo);
            style52.normal.background = FsmEditorUtility.LoadDllResource("logErrorIcon", 20, 20);
            GUIStyle style4 = style52;
            GUIStyle style53 = new GUIStyle(LogInfo);
            style53.normal.background = FsmEditorUtility.LoadDllResource("logTransitionIcon", 20, 20);
            GUIStyle style5 = style53;
            logTypeStyles = new GUIStyle[] { LogInfo, style3, style4, LogInfo, style5, LogInfo, style5, LogInfo, style, style2 };
            GUIStyle style54 = new GUIStyle();
            style54.normal.textColor = EditorStyles.label.normal.textColor;
            style54.padding = new RectOffset(0x10, 0, 0, 0);
            style54.margin = new RectOffset(3, 4, 0, 0);
            style54.alignment = TextAnchor.UpperLeft;
            style54.fixedHeight = 16f;
            ActionItem = style54;
            GUIStyle style55 = new GUIStyle(ActionItem);
            style55.normal.background = FsmEditorUtility.LoadDllResource("selectedColor", 2, 2);
            style55.normal.textColor = Color.white;
            ActionItemSelected = style55;
            GUIStyle style56 = new GUIStyle();
            style56.normal.textColor = EditorStyles.label.normal.textColor;
            style56.padding = new RectOffset(1, 0, 3, 2);
            style56.fixedHeight = 18f;
            TableRow = style56;
            GUIStyle style57 = new GUIStyle(TableRow);
            style57.normal.background = FsmEditorUtility.LoadDllResource("selectedColor", 2, 2);
            style57.normal.textColor = Color.white;
            TableRowSelected = style57;
            TableRowText = new GUIStyle("Label");
            GUIStyle style58 = new GUIStyle(TableRowText);
            style58.normal.textColor = Color.white;
            TableRowTextSelected = style58;
            GUIStyle style59 = new GUIStyle("Toggle");
            style59.padding = new RectOffset(0, 0, 0, 0);
            style59.margin = new RectOffset(4, 0, 1, 0);
            TableRowCheckBox = style59;
            GUIStyle style60 = new GUIStyle(EditorStyles.foldout);
            style60.fontStyle = FontStyle.Bold;
            BoldFoldout = style60;
            GUIStyle style61 = new GUIStyle();
            style61.normal.background = FsmEditorUtility.LoadDllResource("stateTitleBox", 0x10, 0x10);
            style61.normal.textColor = Color.white;
            LogBackground = style61;
            GUIStyle style62 = new GUIStyle();
            style62.normal.textColor = Color.white;
            style62.padding = new RectOffset(1, 0, 3, 2);
            style62.fixedHeight = 18f;
            LogLine = style62;
            GUIStyle style63 = new GUIStyle(LogLine);
            style63.padding = new RectOffset(0x1c, 0, 0, 0);
            LogLine2 = style63;
            GUIStyle style64 = new GUIStyle(LogLine);
            style64.normal.background = FsmEditorUtility.LoadDllResource("selectedColor", 2, 2);
            style64.normal.textColor = Color.white;
            LogLineSelected = style64;
            GUIStyle style65 = new GUIStyle();
            style65.normal.background = FsmEditorUtility.LoadDllResource("yellow", 2, 6);
            style65.normal.textColor = Color.white;
            style65.fixedHeight = 6f;
            LogLineTimeline = style65;
            GUIStyle style66 = new GUIStyle();
            style66.normal.background = FsmEditorUtility.LoadDllResource("pasteDivider", 2, 2);
            style66.normal.textColor = Color.white;
            style66.fixedHeight = 2f;
            InsertLine = style66;
            DefaultWatermark = FsmEditorUtility.LoadWatermarkTexture("TrainResLogo.png");
            GUIStyle style67 = new GUIStyle();
            style67.alignment = TextAnchor.LowerRight;
            Watermark = style67;
            GUIStyle style68 = new GUIStyle(EditorStyles.label);
            style68.normal.textColor = new Color(1f, 1f, 1f, 0.1f);
            style68.fontSize = 0x20;
            style68.fontStyle = FontStyle.Bold;
            LargeWatermarkText = style68;
            GUIStyle style69 = new GUIStyle();
            style69.normal.textColor = new Color(1f, 1f, 1f, 0.15f);
            style69.padding = new RectOffset(5, 0, 0, 0);
            style69.font = EditorStyles.standardFont;
            style69.fontSize = 14;
            style69.fontStyle = FontStyle.Normal;
            style69.wordWrap = true;
            SmallWatermarkText = style69;
            GUIStyle style70 = new GUIStyle(EditorStyles.label);
            style70.fontSize = 0x20;
            style70.fontStyle = FontStyle.Bold;
            LargeTitleText = style70;
            GUIStyle style71 = new GUIStyle();
            style71.normal.textColor = Color.white;
            style71.fontSize = 0x20;
            style71.fontStyle = FontStyle.Bold;
            LargeText = style71;
            GUIStyle style72 = new GUIStyle();
            style72.normal.background = FsmEditorUtility.LoadDllResource("wanLarge", 0x2a, 0x2a);
            style72.normal.textColor = Color.white;
            style72.border = new RectOffset(0x2a, 0, 0, 0);
            style72.padding = new RectOffset(0x2a, 0, 0, 0);
            style72.margin = new RectOffset(0, 0, 0, 0);
            style72.contentOffset = new Vector2(0f, 0f);
            style72.alignment = TextAnchor.MiddleLeft;
            style72.fixedHeight = 42f;
            style72.fontSize = 0x20;
            style72.fontStyle = FontStyle.Bold;
            LargeTitleWithLogo = style72;
            GUIStyle style73 = new GUIStyle();
            style73.normal.background = FsmEditorUtility.LoadDllResource("TrainResHeader", 0xfd, 60);
            style73.normal.textColor = Color.white;
            style73.border = new RectOffset(0xfd, 0, 0, 0);
            TrainResHeader = style73;
            GUIStyle style74 = new GUIStyle();
            style74.normal.textColor = EditorStyles.label.normal.textColor;
            style74.border = new RectOffset(0x40, 0, 0, 0);
            style74.padding = new RectOffset(0x42, 0, 0, 0);
            style74.margin = new RectOffset(20, 20, 20, 0);
            style74.alignment = TextAnchor.UpperLeft;
            style74.fixedHeight = 64f;
            WelcomeLink = style74;
            DocsIcon = FsmEditorUtility.LoadDllResource("linkDocs", 0x30, 0x30);
            BasicsIcon = FsmEditorUtility.LoadDllResource("linkBasics", 0x40, 0x40);
            VideoIcon = FsmEditorUtility.LoadDllResource("linkVideos", 0x30, 0x30);
            ForumIcon = FsmEditorUtility.LoadDllResource("linkForums", 0x30, 0x30);
        }

        private static void InitIndieSkin()
        {
            ErrorBox.normal.background = InfoBox.normal.background;
            ErrorBox.normal.textColor = ErrorTextColorIndie;
            ActionErrorBox.normal.textColor = ErrorTextColorIndie;
            FsmBrowserButton = new GUIContent(FsmEditorUtility.LoadDllResource("browserIcon_indie", 14, 14), "主菜单");
            DeleteButton = new GUIContent(FsmEditorUtility.LoadDllResource("deleteIcon_indie", 0x11, 14), "删除");
            ResetButton = new GUIContent(FsmEditorUtility.LoadDllResource("deleteIcon_indie", 0x11, 14), "重置");
            UpButton = new GUIContent(FsmEditorUtility.LoadDllResource("upIcon_indie", 0x11, 14), "上移");
            DownButton = new GUIContent(FsmEditorUtility.LoadDllResource("downIcon_indie", 0x11, 14), "下移");
            VariableButton = new GUIContent(FsmEditorUtility.LoadDllResource("variableIcon_indie", 0x11, 14), "使用变量");
            SettingsButton = new GUIContent(FsmEditorUtility.LoadDllResource("settingsIcon_indie", 14, 12), "设置");
            BrowseButton = new GUIContent(FsmEditorUtility.LoadDllResource("browseIcon_indie", 0x11, 14), "浏览");
            BroadcastIcon = FsmEditorUtility.LoadDllResource("broadcastIcon_indie", 0x10, 0x10);
            SelectedRow.normal.background = FsmEditorUtility.LoadDllResource("selectedColor_indie", 2, 2);
            ActionItemSelected.normal.background = FsmEditorUtility.LoadDllResource("selectedColor_indie", 2, 2);
            SelectedEventBox.normal.background = FsmEditorUtility.LoadDllResource("selectedColor_indie", 2, 2);
            TableRowSelected.normal.background = FsmEditorUtility.LoadDllResource("selectedColor_indie", 2, 2);
            GuiContentErrorColor = new Color(1f, 0f, 0f);
            GuiBackgroundErrorColor = new Color(1f, 0.3f, 0.3f);
            GUIStyle style = new GUIStyle(InfoBox);
            style.normal.background = FsmEditorUtility.LoadDllResource("hintBox", 0x10, 0x10);
            style.normal.textColor = new Color(0.9f, 0.95f, 1f);
            HintBox = style;
            GUIStyle style2 = new GUIStyle(HintBox);
            style2.normal.background = null;
            HintBoxTextOnly = style2;
        }

        private static void InitProSkin()
        {
            FsmBrowserButton = new GUIContent(FsmEditorUtility.LoadDllResource("browserIcon", 14, 14), "编辑窗口");
            DeleteButton = new GUIContent(FsmEditorUtility.LoadDllResource("deleteIcon", 0x11, 14), "删除");
            ResetButton = new GUIContent(FsmEditorUtility.LoadDllResource("deleteIcon", 0x11, 14), "重置");
            UpButton = new GUIContent(FsmEditorUtility.LoadDllResource("upIcon", 0x11, 14), "上移");
            DownButton = new GUIContent(FsmEditorUtility.LoadDllResource("downIcon", 0x11, 14), "下移");
            VariableButton = new GUIContent(FsmEditorUtility.LoadDllResource("variableIcon", 0x11, 14), "使用变量");
            SettingsButton = new GUIContent(FsmEditorUtility.LoadDllResource("settingsIcon", 14, 12), "设置");
            BrowseButton = new GUIContent(FsmEditorUtility.LoadDllResource("browseIcon", 0x11, 14), "浏览");
            BroadcastIcon = FsmEditorUtility.LoadDllResource("broadcastIcon", 0x10, 0x10);
            GuiContentErrorColor = new Color(1f, 0.1f, 0.1f);
            GuiBackgroundErrorColor = new Color(1f, 0.4f, 0.4f);
            GUIStyle style = new GUIStyle(InfoBox);
            style.normal.background = FsmEditorUtility.LoadDllResource("hintBox", 0x10, 0x10);
            style.normal.textColor = new Color(0.6f, 0.7f, 0.8f);
            HintBox = style;
            GUIStyle style2 = new GUIStyle(HintBox);
            style2.normal.background = null;
            HintBoxTextOnly = style2;
        }

        public static bool IsInitialized()
        {
            if (usingProSkin != UsingProSkin())
            {
                return false;
            }
            return (LeftArrow != null);
        }

        public static void OnDestroy()
        {
        }

        public static bool UsingProSkin()
        {
            return (EditorPrefs.GetInt("UserSkin") == 1);
        }

        public static GUIStyle ActionErrorBox
        {
            [CompilerGenerated]
            get
            {
                return ActionErrorBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionErrorBox__BackingField = value;
            }
        }

        public static GUIStyle ActionFoldout
        {
            [CompilerGenerated]
            get
            {
                return ActionFoldout__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionFoldout__BackingField = value;
            }
        }

        public static GUIStyle ActionItem
        {
            [CompilerGenerated]
            get
            {
                return ActionItem__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionItem__BackingField = value;
            }
        }

        public static GUIStyle ActionItemSelected
        {
            [CompilerGenerated]
            get
            {
                return ActionItemSelected__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionItemSelected__BackingField = value;
            }
        }

        public static GUIStyle ActionTitle
        {
            [CompilerGenerated]
            get
            {
                return ActionTitle__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionTitle__BackingField = value;
            }
        }

        public static GUIStyle ActionTitleError
        {
            [CompilerGenerated]
            get
            {
                return ActionTitleError__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionTitleError__BackingField = value;
            }
        }

        public static GUIStyle ActionTitleSelected
        {
            [CompilerGenerated]
            get
            {
                return ActionTitleSelected__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionTitleSelected__BackingField = value;
            }
        }

        public static GUIStyle ActionToggle
        {
            [CompilerGenerated]
            get
            {
                return ActionToggle__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ActionToggle__BackingField = value;
            }
        }

        public static GUIStyle Background
        {
            [CompilerGenerated]
            get
            {
                return Background__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                Background__BackingField = value;
            }
        }

        public static Texture BasicsIcon
        {
            [CompilerGenerated]
            get
            {
                return BasicsIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                BasicsIcon__BackingField = value;
            }
        }

        public static GUIStyle BoldFoldout
        {
            [CompilerGenerated]
            get
            {
                return BoldFoldout__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                BoldFoldout__BackingField = value;
            }
        }

        public static GUIStyle BreakpointOff
        {
            [CompilerGenerated]
            get
            {
                return BreakpointOff__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                BreakpointOff__BackingField = value;
            }
        }

        public static GUIStyle BreakpointOn
        {
            [CompilerGenerated]
            get
            {
                return BreakpointOn__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                BreakpointOn__BackingField = value;
            }
        }

        public static Texture2D BroadcastIcon
        {
            [CompilerGenerated]
            get
            {
                return BroadcastIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                BroadcastIcon__BackingField = value;
            }
        }

        public static GUIContent BrowseButton
        {
            [CompilerGenerated]
            get
            {
                return BrowseButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                BrowseButton__BackingField = value;
            }
        }

        public static GUIStyle CategoryFoldout
        {
            [CompilerGenerated]
            get
            {
                return CategoryFoldout__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                CategoryFoldout__BackingField = value;
            }
        }

        public static GUIContent ClearBreakpoints
        {
            [CompilerGenerated]
            get
            {
                return ClearBreakpoints__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ClearBreakpoints__BackingField = value;
            }
        }

        public static GUIStyle CommentBox
        {
            [CompilerGenerated]
            get
            {
                return CommentBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                CommentBox__BackingField = value;
            }
        }

        public static Texture DefaultWatermark
        {
            [CompilerGenerated]
            get
            {
                return DefaultWatermark__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                DefaultWatermark__BackingField = value;
            }
        }

        public static GUIContent DeleteButton
        {
            [CompilerGenerated]
            get
            {
                return DeleteButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                DeleteButton__BackingField = value;
            }
        }

        public static GUIStyle Divider
        {
            [CompilerGenerated]
            get
            {
                return Divider__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                Divider__BackingField = value;
            }
        }

        public static Texture DocsIcon
        {
            [CompilerGenerated]
            get
            {
                return DocsIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                DocsIcon__BackingField = value;
            }
        }

        public static GUIContent DownButton
        {
            [CompilerGenerated]
            get
            {
                return DownButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                DownButton__BackingField = value;
            }
        }

        public static GUIStyle DropShadowBox
        {
            [CompilerGenerated]
            get
            {
                return DropShadowBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                DropShadowBox__BackingField = value;
            }
        }

        public static GUIContent EnableBreakpoints
        {
            [CompilerGenerated]
            get
            {
                return EnableBreakpoints__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                EnableBreakpoints__BackingField = value;
            }
        }

        public static GUIStyle ErrorBox
        {
            [CompilerGenerated]
            get
            {
                return ErrorBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ErrorBox__BackingField = value;
            }
        }

        public static GUIStyle ErrorCount
        {
            [CompilerGenerated]
            get
            {
                return ErrorCount__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ErrorCount__BackingField = value;
            }
        }

        public static Texture2D Errors
        {
            [CompilerGenerated]
            get
            {
                return Errors__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                Errors__BackingField = value;
            }
        }

        public static GUIStyle EventBox
        {
            [CompilerGenerated]
            get
            {
                return EventBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                EventBox__BackingField = value;
            }
        }

        public static Texture ForumIcon
        {
            [CompilerGenerated]
            get
            {
                return ForumIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ForumIcon__BackingField = value;
            }
        }

        public static GUIContent FsmBrowserButton
        {
            [CompilerGenerated]
            get
            {
                return FsmBrowserButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                FsmBrowserButton__BackingField = value;
            }
        }

        public static Texture2D GlobalArrow
        {
            [CompilerGenerated]
            get
            {
                return GlobalArrow__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                GlobalArrow__BackingField = value;
            }
        }

        public static GUIStyle GlobalTransitionBox
        {
            [CompilerGenerated]
            get
            {
                return GlobalTransitionBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                GlobalTransitionBox__BackingField = value;
            }
        }

        public static Color GuiBackgroundErrorColor
        {
            [CompilerGenerated]
            get
            {
                return GuiBackgroundErrorColor__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                GuiBackgroundErrorColor__BackingField = value;
            }
        }

        public static Color GuiContentErrorColor
        {
            [CompilerGenerated]
            get
            {
                return GuiContentErrorColor__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                GuiContentErrorColor__BackingField = value;
            }
        }

        public static GUIContent HelpButton
        {
            [CompilerGenerated]
            get
            {
                return HelpButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                HelpButton__BackingField = value;
            }
        }

        public static GUIStyle HintBox
        {
            [CompilerGenerated]
            get
            {
                return HintBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                HintBox__BackingField = value;
            }
        }

        public static GUIStyle HintBoxTextOnly
        {
            [CompilerGenerated]
            get
            {
                return HintBoxTextOnly__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                HintBoxTextOnly__BackingField = value;
            }
        }

        public static GUIStyle HorizontalScrollbar
        {
            [CompilerGenerated]
            get
            {
                return HorizontalScrollbar__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                HorizontalScrollbar__BackingField = value;
            }
        }

        public static float HorizontalScrollBarHeight
        {
            [CompilerGenerated]
            get
            {
                return HorizontalScrollBarHeight__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                HorizontalScrollBarHeight__BackingField = value;
            }
        }

        public static GUIStyle InfoBox
        {
            [CompilerGenerated]
            get
            {
                return InfoBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                InfoBox__BackingField = value;
            }
        }

        public static GUIStyle InnerGlowBox
        {
            [CompilerGenerated]
            get
            {
                return InnerGlowBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                InnerGlowBox__BackingField = value;
            }
        }

        public static GUIStyle InsertLine
        {
            [CompilerGenerated]
            get
            {
                return InsertLine__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                InsertLine__BackingField = value;
            }
        }

        public static GUIStyle LabelWithWordWrap
        {
            [CompilerGenerated]
            get
            {
                return LabelWithWordWrap__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LabelWithWordWrap__BackingField = value;
            }
        }

        public static GUIStyle LargeText
        {
            [CompilerGenerated]
            get
            {
                return LargeText__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LargeText__BackingField = value;
            }
        }

        public static GUIStyle LargeTitleText
        {
            [CompilerGenerated]
            get
            {
                return LargeTitleText__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LargeTitleText__BackingField = value;
            }
        }

        public static GUIStyle LargeTitleWithLogo
        {
            [CompilerGenerated]
            get
            {
                return LargeTitleWithLogo__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LargeTitleWithLogo__BackingField = value;
            }
        }

        public static GUIStyle LargeWatermarkText
        {
            [CompilerGenerated]
            get
            {
                return LargeWatermarkText__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LargeWatermarkText__BackingField = value;
            }
        }

        public static Texture2D LeftArrow
        {
            [CompilerGenerated]
            get
            {
                return LeftArrow__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LeftArrow__BackingField = value;
            }
        }

        public static Texture2D LineTexture
        {
            [CompilerGenerated]
            get
            {
                return LineTexture__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LineTexture__BackingField = value;
            }
        }

        public static Color LinkColorTint
        {
            [CompilerGenerated]
            get
            {
                return LinkColorTint__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LinkColorTint__BackingField = value;
            }
        }

        public static GUIStyle LogBackground
        {
            [CompilerGenerated]
            get
            {
                return LogBackground__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogBackground__BackingField = value;
            }
        }

        public static GUIStyle LogInfo
        {
            [CompilerGenerated]
            get
            {
                return LogInfo__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogInfo__BackingField = value;
            }
        }

        public static GUIStyle LogLine
        {
            [CompilerGenerated]
            get
            {
                return LogLine__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogLine__BackingField = value;
            }
        }

        public static GUIStyle LogLine2
        {
            [CompilerGenerated]
            get
            {
                return LogLine2__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogLine2__BackingField = value;
            }
        }

        public static GUIStyle LogLineSelected
        {
            [CompilerGenerated]
            get
            {
                return LogLineSelected__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogLineSelected__BackingField = value;
            }
        }

        public static GUIStyle LogLineTimeline
        {
            [CompilerGenerated]
            get
            {
                return LogLineTimeline__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogLineTimeline__BackingField = value;
            }
        }

        public static GUIStyle LogoLarge
        {
            [CompilerGenerated]
            get
            {
                return LogoLarge__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                LogoLarge__BackingField = value;
            }
        }

        public static GUIStyle MiniButton
        {
            [CompilerGenerated]
            get
            {
                return MiniButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                MiniButton__BackingField = value;
            }
        }

        public static GUIStyle MiniButtonPadded
        {
            [CompilerGenerated]
            get
            {
                return MiniButtonPadded__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                MiniButtonPadded__BackingField = value;
            }
        }

        public static Texture2D NoErrors
        {
            [CompilerGenerated]
            get
            {
                return NoErrors__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                NoErrors__BackingField = value;
            }
        }

        public static GUIContent OpenLog
        {
            [CompilerGenerated]
            get
            {
                return OpenLog__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                OpenLog__BackingField = value;
            }
        }

        public static GUIContent Pause
        {
            [CompilerGenerated]
            get
            {
                return Pause__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                Pause__BackingField = value;
            }
        }

        public static GUIContent Play
        {
            [CompilerGenerated]
            get
            {
                return Play__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                Play__BackingField = value;
            }
        }

        public static GUIStyle TrainResHeader
        {
            [CompilerGenerated]
            get
            {
                return TrainResHeader__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TrainResHeader__BackingField = value;
            }
        }

        public static GUIContent ResetButton
        {
            [CompilerGenerated]
            get
            {
                return ResetButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ResetButton__BackingField = value;
            }
        }

        public static GUIStyle RightAlignedToolbarDropdown
        {
            [CompilerGenerated]
            get
            {
                return RightAlignedToolbarDropdown__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                RightAlignedToolbarDropdown__BackingField = value;
            }
        }

        public static Texture2D RightArrow
        {
            [CompilerGenerated]
            get
            {
                return RightArrow__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                RightArrow__BackingField = value;
            }
        }

        public static GUIStyle SelectedEventBox
        {
            [CompilerGenerated]
            get
            {
                return SelectedEventBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SelectedEventBox__BackingField = value;
            }
        }

        public static GUIStyle SelectedRow
        {
            [CompilerGenerated]
            get
            {
                return SelectedRow__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SelectedRow__BackingField = value;
            }
        }

        public static GUIStyle SelectionBox
        {
            [CompilerGenerated]
            get
            {
                return SelectionBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SelectionBox__BackingField = value;
            }
        }

        public static GUIStyle SelectionRect
        {
            [CompilerGenerated]
            get
            {
                return SelectionRect__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SelectionRect__BackingField = value;
            }
        }

        public static GUIContent SettingsButton
        {
            [CompilerGenerated]
            get
            {
                return SettingsButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SettingsButton__BackingField = value;
            }
        }

        public static GUIStyle SinglePixelFrame
        {
            [CompilerGenerated]
            get
            {
                return SinglePixelFrame__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SinglePixelFrame__BackingField = value;
            }
        }

        public static GUIStyle SmallWatermarkText
        {
            [CompilerGenerated]
            get
            {
                return SmallWatermarkText__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                SmallWatermarkText__BackingField = value;
            }
        }

        public static Texture2D StartArrow
        {
            [CompilerGenerated]
            get
            {
                return StartArrow__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StartArrow__BackingField = value;
            }
        }

        public static GUIStyle StartTransitionBox
        {
            [CompilerGenerated]
            get
            {
                return StartTransitionBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StartTransitionBox__BackingField = value;
            }
        }

        public static GUIStyle StateBox
        {
            [CompilerGenerated]
            get
            {
                return StateBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StateBox__BackingField = value;
            }
        }

        public static GUIContent StateBrowserButton
        {
            [CompilerGenerated]
            get
            {
                return StateBrowserButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StateBrowserButton__BackingField = value;
            }
        }

        public static Texture2D StateErrorIcon
        {
            [CompilerGenerated]
            get
            {
                return StateErrorIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StateErrorIcon__BackingField = value;
            }
        }

        public static GUIStyle StateTitleBox
        {
            [CompilerGenerated]
            get
            {
                return StateTitleBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StateTitleBox__BackingField = value;
            }
        }

        public static GUIStyle StateTitleLongBox
        {
            [CompilerGenerated]
            get
            {
                return StateTitleLongBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                StateTitleLongBox__BackingField = value;
            }
        }

        public static GUIContent Step
        {
            [CompilerGenerated]
            get
            {
                return Step__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                Step__BackingField = value;
            }
        }

        public static GUIStyle TableRow
        {
            [CompilerGenerated]
            get
            {
                return TableRow__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRow__BackingField = value;
            }
        }

        public static GUIStyle TableRowBox
        {
            [CompilerGenerated]
            get
            {
                return TableRowBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowBox__BackingField = value;
            }
        }

        public static GUIStyle TableRowBoxNoDivider
        {
            [CompilerGenerated]
            get
            {
                return TableRowBoxNoDivider__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowBoxNoDivider__BackingField = value;
            }
        }

        public static GUIStyle TableRowCheckBox
        {
            [CompilerGenerated]
            get
            {
                return TableRowCheckBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowCheckBox__BackingField = value;
            }
        }

        public static GUIStyle TableRowHeader
        {
            [CompilerGenerated]
            get
            {
                return TableRowHeader__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowHeader__BackingField = value;
            }
        }

        public static GUIStyle TableRowSelected
        {
            [CompilerGenerated]
            get
            {
                return TableRowSelected__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowSelected__BackingField = value;
            }
        }

        public static GUIStyle TableRowText
        {
            [CompilerGenerated]
            get
            {
                return TableRowText__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowText__BackingField = value;
            }
        }

        public static GUIStyle TableRowTextSelected
        {
            [CompilerGenerated]
            get
            {
                return TableRowTextSelected__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TableRowTextSelected__BackingField = value;
            }
        }

        public static GUIStyle TextArea
        {
            [CompilerGenerated]
            get
            {
                return TextArea__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TextArea__BackingField = value;
            }
        }

        public static GUIStyle TextAreaWithWordWrap
        {
            [CompilerGenerated]
            get
            {
                return TextAreaWithWordWrap__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TextAreaWithWordWrap__BackingField = value;
            }
        }

        public static Texture2D TitleIcon
        {
            [CompilerGenerated]
            get
            {
                return TitleIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TitleIcon__BackingField = value;
            }
        }

        public static GUIStyle ToolbarHeading
        {
            [CompilerGenerated]
            get
            {
                return ToolbarHeading__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ToolbarHeading__BackingField = value;
            }
        }

        public static GUIStyle ToolbarTab
        {
            [CompilerGenerated]
            get
            {
                return ToolbarTab__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                ToolbarTab__BackingField = value;
            }
        }

        public static GUIStyle TransitionBox
        {
            [CompilerGenerated]
            get
            {
                return TransitionBox__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TransitionBox__BackingField = value;
            }
        }

        public static GUIStyle TransitionBoxSelected
        {
            [CompilerGenerated]
            get
            {
                return TransitionBoxSelected__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                TransitionBoxSelected__BackingField = value;
            }
        }

        public static GUIContent UpButton
        {
            [CompilerGenerated]
            get
            {
                return UpButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                UpButton__BackingField = value;
            }
        }

        public static GUIContent VariableButton
        {
            [CompilerGenerated]
            get
            {
                return VariableButton__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                VariableButton__BackingField = value;
            }
        }

        public static GUIStyle VersionInfo
        {
            [CompilerGenerated]
            get
            {
                return VersionInfo__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                VersionInfo__BackingField = value;
            }
        }

        public static GUIStyle VerticalScrollbar
        {
            [CompilerGenerated]
            get
            {
                return VerticalScrollbar__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                VerticalScrollbar__BackingField = value;
            }
        }

        public static float VerticalScrollBarWidth
        {
            [CompilerGenerated]
            get
            {
                return VerticalScrollBarWidth__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                VerticalScrollBarWidth__BackingField = value;
            }
        }

        public static Texture VideoIcon
        {
            [CompilerGenerated]
            get
            {
                return VideoIcon__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                VideoIcon__BackingField = value;
            }
        }

        public static GUIStyle Watermark
        {
            [CompilerGenerated]
            get
            {
                return Watermark__BackingField;
            }
            [CompilerGenerated]
            set
            {
                Watermark__BackingField = value;
            }
        }

        public static Color WatermarkTint
        {
            [CompilerGenerated]
            get
            {
                return WatermarkTint__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                WatermarkTint__BackingField = value;
            }
        }

        public static Color WatermarkTintSolid
        {
            [CompilerGenerated]
            get
            {
                return WatermarkTintSolid__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                WatermarkTintSolid__BackingField = value;
            }
        }

        public static GUIStyle WelcomeLink
        {
            [CompilerGenerated]
            get
            {
                return WelcomeLink__BackingField;
            }
            [CompilerGenerated]
            private set
            {
                WelcomeLink__BackingField = value;
            }
        }

        public enum ColorScheme
        {
            Default,
            DarkBackground,
            LightBackground
        }
    }
}

